]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Check that xulrunner-1.9-dev is installed ahead of time
authorOwen Taylor <otaylor@src.gnome.org>
Tue, 18 Nov 2008 00:45:32 +0000 (00:45 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 18 Nov 2008 00:45:32 +0000 (00:45 +0000)
On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild,
then things will break in mysterious ways, so check for that at the end of
gnome-shell-build-setup.sh.

Patch from Sander Dijkhuis.

svn path=/trunk/; revision=54

tools/build/gnome-shell-build-setup.sh

index 78ccd696039c7c9af0b0aa39a990635de512cabf..d077abccd536208afba4e52ea153c88b14015a56 100755 (executable)
@@ -47,5 +47,13 @@ if test "x`echo $PATH | grep $HOME/bin`" = x; then
     echo
 fi
 
+system=`lsb_release -is`
+if test x$system = xUbuntu -o x$system = xDebian ; then
+    if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else
+        echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell."
+        echo
+    fi
+fi
+
 echo "Done."